package com.yanqu.road.entity.player;

import com.yanqu.road.entity.DataObject;

public class UserMallBuyCount extends DataObject {

	private long userId;

	private int mallId;

	private int count;

	private long lastUpdateTime;

	private int activityId;    //活动商品字段

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		if (this.userId != userId) {
			this.userId = userId;
			setUpdateOption();
		}
	}

	public int getMallId() {
		return mallId;
	}

	public void setMallId(int mallId) {
		if(this.mallId != mallId) {
			this.mallId = mallId;
			setUpdateOption();
		}
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		if (this.count != count) {
			this.count = count;
			setUpdateOption();
		}
	}

	public long getLastUpdateTime() {
		return lastUpdateTime;
	}

	public void setLastUpdateTime(long lastUpdateTime) {
		if (this.lastUpdateTime != lastUpdateTime) {
			this.lastUpdateTime = lastUpdateTime;
			setUpdateOption();
		}
	}

	public int getActivityId() {
		return activityId;
	}

	public void setActivityId(int activityId) {
		if(this.activityId != activityId) {
			this.activityId = activityId;
			setUpdateOption();
		}
	}
}
